//
//  RadioHandel.h
//  iNews
//
//  Created by lanou3g on 14-12-6.
//  Copyright (c) 2014年 张在青. All rights reserved.
//

#import <Foundation/Foundation.h>
@class AVPlayer;
@class AVPlayerItem;
@interface RadioHandel : NSObject



+(RadioHandel *)shareRadioData;

@property(nonatomic,strong)NSMutableArray *RadioDataArray;

@property(nonatomic,copy)NSString *docidString;

-(void)reqestRadioData;

@property(nonatomic,strong)NSMutableArray *RadioDetailDataArray;

-(void)requestDetailRadioData;



//-(void)StarStreamerWithString:(NSString *)aString;
//-(void)streamerStart:(NSString *)urlString;
//-(void)streamerStop;
//-(void)streamerPause;
//-(void)getCurrentTime;
//@property(nonatomic,retain)AudioStreamer *sTreamer;
//@property(nonatomic,copy)NSString *currentTime;
@property(nonatomic,copy)NSString *totalTimes;
@property(nonatomic,assign)NSInteger progress;
@property(nonatomic,assign)NSInteger totalTimeValue;


@property(nonatomic,retain )AVPlayer *player;
@property(nonatomic,retain)AVPlayerItem *playerItem;
@property(nonatomic,copy)NSURL *url;

-(void)StarPlayerWithString:(NSString *)aString;





@property (nonatomic,assign)BOOL _flag;

//首页刷新用来存所有信息的数组
@property(nonatomic,retain)NSMutableArray *RadioTotalArray;
//用来在拼接接口后面的数字.
@property(nonatomic,assign)NSInteger JKcount;

@end
